import * as types from './mutation_types';

export const updateCurrentModule = ({ commit }, module = {}) => {
  commit(types.UPDATE_CURRENT_MODULE, module);
};

export const updateActiveComment = ({ commit }, comment = {}) => {
  commit(types.UPDATE_ACTIVE_COMMENT, comment);
};
